home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Extensions… / PostScript Extension Shell ƒ / PS Extension.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  1.6 KB  |  55 lines  |  [TEXT/MPS ]

  1. #    File:        PS Extension.make
  2. #   Target:     PS Extension
  3. #   Sources:    PS Extension.a PS Extension.c PS Extension.r
  4. #   Created:    Wednesday, Nov. 11, 1992 6:42:32 PM
  5. #
  6. #    Makefile for a printing extension.
  7. #    
  8. #    Dave Hersey
  9. #    Apple Developer Technical Support
  10. #
  11. #    (Based on the "Extension Shell" sample.)
  12. #
  13. #    12/01/92 - dmh - Created.
  14. #     4/26/93 - dmh - Updated to use recommended approach to
  15. #                     global data initialization.
  16. #     9/05/93 - dmh - Updated for b2.
  17. #     9/08/93 - dmh - Modified to override
  18. #                      GXPostScriptDoPageSetup.
  19. #                   - Added a "PS " before the file names.
  20. #                   - Changed creator type.
  21. #    12/18/93 - dmh - Updated for b3.
  22. #    8/24/94 - dmh - Finalized.
  23. #     6/14/96 - cn  - Updated to support MPW Pro #19.
  24.  
  25. #    Alias to the path for the GX library and interface files.
  26.  
  27. INTPATH = "{CIncludes}"
  28.  
  29. #    Creator type we'll use:
  30.  
  31. kCreator = 'GPxt'
  32.  
  33.  
  34. OBJECTS = "PS Extension.a.o" "PS Extension.c.o"
  35. AsmOptions        = -sym off -i {INTPATH} -case obj
  36. CompileOptions    = -opt full -d applec -b2 -r -i {INTPATH}
  37.  
  38. "PS Extension.a.o" ƒ "PS Extension.make" "PS Extension.a"
  39.      Asm {AsmOptions} "PS Extension.a"
  40. "PS Extension.c.o" ƒ "PS Extension.make" "PS Extension.c"
  41.      SC {CompileOptions} "PS Extension.c"
  42.  
  43. "PS Extension" ƒƒ "PS Extension.make" "PS Extension.r" {OBJECTS}
  44.     Link    -ra =resSysHeap,resPurgeable    ∂
  45.             -t 'pext'                        ∂
  46.             -c {kCreator}                    ∂
  47.             -rt pext=0                        ∂
  48.             -sg SEGS                        ∂
  49.             -m EntryPoint                    ∂
  50.             {OBJECTS}                        ∂
  51.             "{Libraries}MacRuntime.o"            ∂
  52.             -o "PS Extension";
  53.     SetFile "PS Extension" -a iB;
  54.     Rez -i {INTPATH} -rd -o "PS Extension" "PS Extension.r" -append 
  55.